<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>统一认证中心</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
            crossorigin="anonymous"></script>

</head>
<body>
<div style="text-align: center">
    <h1>登录</h1>
    <form action="/login" method="post">
        <div class="row">
            <div class="form-group">
                <div class="col-md-5">
                    <label for="userName">用户名</label>
                </div>
                <div class="col-md-5">
                    <input type="text" class="form-control" id="userName" name="username"
                           placeholder="请输入用户名">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="form-group">
                <div class="col-md-5">
                    <label for="passowrd">密码</label>
                </div>
                <div class="col-md-5">
                    <input type="password" class="form-control" name="password" id="passowrd" placeholder="请输入密码">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <label for="passowrd">
                    <button type="submit" class="btn btn-default">登录</button>
                </label>
            </div>
        </div>

    </form>
</div>
</body>
</html>

<style>
    label {
        text-align: right;
    }
</style>